ReadableStream

external interface ReadableStream<R : JsAny?> : JsAny(source)

Properties

Link copied to clipboard
abstract external var locked: Boolean

Functions

Link copied to clipboard
abstract external fun cancel(reason: JsAny? = definedExternally): Promise<JsAny?>
Link copied to clipboard
abstract external fun getReader(): ReadableStreamDefaultReader<R>
abstract external fun getReader(options: JsAny?): ReadableStreamBYOBReader
Link copied to clipboard
abstract external fun pipeTo(dest: WritableStream<R>, options: PipeOptions? = definedExternally): Promise<JsAny?>
Link copied to clipboard
abstract external fun tee(): JsAny?